Hello,
I have just installed the restful authentication plugin with
rspec and activation. The specs work. I ran the stories and I
managed to get pasted the first few failures by using this posting:
http://www.ruby-forum.com/topic/...
I was not able to fix the last one on the list because it seems
that the stories have changed since that post. Here is the error
I'm getting:
FAILURES:
1) Logging in (Anonymous user can log in and be remembered) FAILED
Spec::Expectations::ExpectationNotMetError: expected "4", got "14" (using .eql?)
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:98:in `$actor session store should have $attributes'
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:96:in `each'
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:96:in `$actor session store should have $attributes'
stories/all.rb:2
2) Logging in (Log-in with bogus info should fail until it doesn't) FAILED
Spec::Expectations::ExpectationNotMetError: expected "4", got "16" (using .eql?)
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:98:in `$actor session store should have $attributes'
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:96:in `each'
/Users/brain/Sites/cauta_mock/stories/steps/ra_response_steps.rb:96:in `$actor session store should have $attributes'
stories/all.rb:2
I also noticed that the got "number" (in this case 14 and 16)
changes everytime the code is run with an increment of 14. Please
let me know how can this be fixed. Thank you